//
//  JLTestController.m
//  JLProject
//
//  Created by linlin on 2018/8/12.
//  Copyright © 2018年 jilin. All rights reserved.
//

#import "JLTestController.h"
#import "JLTest1Controller.h"

@interface JLTestController ()

@end

@implementation JLTestController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor greenColor];

    UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
    btn.backgroundColor = [UIColor blueColor];
    [self.view addSubview:btn];
    [btn addTarget:self action:@selector(act) forControlEvents:UIControlEventTouchUpInside];



    NSString *value = nil;
    NSDictionary *dict = @{
                           @"key":value
                           };

    NSLog(@"%@", dict);
    
    
}

- (void)act{
    [self.navigationController pushViewController:[JLTest1Controller new] animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
